
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>

    <title>博客编辑页</title>

    <link rel="stylesheet" href="resources/css/blog_edit.css">
    <link rel="stylesheet" href="resources/css/bootstrap-admin.css">
    <link rel="stylesheet" href="resources/css/bootstrap.min.css">
    <link rel="stylesheet" href="resources/css/common.css">
    <!-- 引入依赖 -->
    <style>
        textarea{
            width: 500px;
            height: 300px;
        }


    </style>
</head>
<body class="bg">
<!-- 导航栏 -->
<div class="nav d-flex">
    <img src="resources/image/log.png" alt="">
    <span class="title">我的博客系统</span>
    <!-- 使用 span 把左右两侧的元素给撑开 -->
    <span class="spacer"></span>
    <a href="index">主页</a>
    <a href="edit.jsp">写博客</a>
    <a href="quit">注销</a>
</div>
<!-- 版心 -->
<div class="blog-edit-container">

    <!--内容区域-->
        <div class="bsa-main-content">

            <div class="card border-0 shadow-sm">
                <div class="card-body py-4">
                    <form action="edit" method="post" >
                        <div class="mb-3">
                            <label for="title" class="form-label">文章标题</label>
                            <input type="text" class="form-control" id="title" name="title" required>
                        </div>

                        <div class="mb-3">
                            <label for="content" class="form-label">文章内容</label>
                            <textarea id="content" class="form-control" name="content"required></textarea>
                        </div>
                        <button type="submit" class="btn btn-primary float-lg-end">发布文章</button>
                    </form>
                </div>
            </div>
        </div>
    </div>



<script>

</script>
</body>
</html>
